#ifndef ANIMAL_H_
#define ANIMAL_H_

class Animal{
public:
	virtual void display() const = 0;
};

class Lion : public Animal{
public:
	void display() const { cout << "狮子钻火圈..." << endl; }
};

class Tiger : public Animal{
public:
	void display() const { cout << "老虎睡觉" << endl; }
};

class Elephant : public Animal{
public:
	void display() const { cout << "大象喷水" << endl; } 
};

#endif
